// pages/region/region.js
Page({
  data: {
    active: -1
  },
  onLoad: function(options) {},
  onReady: function() {},
  onHide: function() {},
  onUnload: function() {},
  select: function(e) {
    this.setData({
      active: e.currentTarget.dataset.index
    })
  }
})